package main

import (
	"fmt"
	"time"
)

func main() {
	c := make(chan int)
	go func() {
		fmt.Println(<-c)
	}()
	c <- 1

	time.Sleep(2 * time.Second)
}
